package com.one.blocks.security.authz;

/**
 * @author linfuxin Created on 2022-02-14 11:03:30
 */
public interface AuthorizeService {

    /**
     * 校验用户是否有权限
     *
     * @param permission 用户需要的权限
     * @return true 有权限
     */
    boolean hasPermission(String permission);
}
